Skip to content

[DPE-7908] Separation of storage#87

Closed
astrojuanlu wants to merge 44 commits into8.4/edgefrom
juanlu/separation-storage
Closed

[DPE-7908] Separation of storage#87
astrojuanlu wants to merge 44 commits into8.4/edgefrom
juanlu/separation-storage

Conversation

@astrojuanlu
Copy link
Copy Markdown
Contributor

Issue

Solution

Checklist

  • I have added or updated any relevant documentation.
  • I have cleaned any remaining cloud resources from my accounts.

@github-actions github-actions Bot added the Libraries: Out of sync The charm libs used are out-of-sync label Feb 13, 2026
@astrojuanlu astrojuanlu force-pushed the juanlu/separation-storage branch from 4c19f98 to a7f08e2 Compare February 13, 2026 15:40
@astrojuanlu

This comment was marked as outdated.

@astrojuanlu astrojuanlu force-pushed the juanlu/separation-storage branch from a7f08e2 to acdca83 Compare February 17, 2026 08:54
@astrojuanlu

This comment was marked as outdated.

@astrojuanlu

This comment was marked as outdated.

@astrojuanlu astrojuanlu force-pushed the juanlu/separation-storage branch 6 times, most recently from f1d9e89 to 905bf25 Compare April 15, 2026 08:50
@astrojuanlu astrojuanlu changed the title [DPE-7908] [WIP] Separation of storage [DPE-7908] Separation of storage Apr 15, 2026
@astrojuanlu astrojuanlu marked this pull request as ready for review April 15, 2026 08:51
@astrojuanlu astrojuanlu added the enhancement New feature, UI change, or workload upgrade label Apr 15, 2026
@astrojuanlu
Copy link
Copy Markdown
Contributor Author

I'm keeping an eye on some of the trickiest integration tests but this is ready for a first pass.

@astrojuanlu astrojuanlu force-pushed the juanlu/separation-storage branch 2 times, most recently from 99a398c to 32eef11 Compare April 15, 2026 12:07
@astrojuanlu astrojuanlu force-pushed the juanlu/separation-storage branch from 32eef11 to eaab6c3 Compare April 15, 2026 12:27
Copy link
Copy Markdown
Contributor

@sinclert-canonical sinclert-canonical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall. Left a bunch of comments.

Comment thread kubernetes/lib/charms/mysql/v0/mysql.py Outdated
Comment thread kubernetes/lib/charms/mysql/v0/mysql.py Outdated
Comment thread kubernetes/src/constants.py Outdated
Comment thread kubernetes/tests/integration/integration/test_storage.py Outdated
Comment thread kubernetes/tests/integration/integration/test_storage.py
Comment thread machines/src/mysql_vm_helpers.py
Comment thread machines/src/mysql_vm_helpers.py Outdated
Comment thread machines/tests/integration/integration/test_storage.py
Comment thread machines/tests/integration/integration/test_storage.py Outdated
Comment thread machines/metadata.yaml Outdated
@astrojuanlu astrojuanlu force-pushed the juanlu/separation-storage branch 2 times, most recently from 290e489 to 9c9549b Compare April 15, 2026 16:48
@astrojuanlu
Copy link
Copy Markdown
Contributor Author

I hope the last push fixes a bogus test, I think the rest is flakiness.

Copy link
Copy Markdown
Contributor

@sinclert-canonical sinclert-canonical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Provided 2nd round of reviews. Waiting for clarification in a couple of threads.

Comment thread kubernetes/lib/charms/mysql/v0/mysql.py Outdated
Comment thread machines/lib/charms/mysql/v0/mysql.py Outdated
Copy link
Copy Markdown
Contributor

@paulomach paulomach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick pass. Should we ensure all mount points are mounted before do we initialization?
Imagine a case where archive is not mounted a we start logging to the directory, instead of the mounted device

Comment thread kubernetes/src/charm.py
Comment thread machines/metadata.yaml
type: filesystem
description: Persistent storage for data
location: /var/snap/charmed-mysql/common
description: Persistent storage for MySQL data
Copy link
Copy Markdown
Contributor

@paulomach paulomach Apr 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as k8s

Suggested change
description: Persistent storage for MySQL data
description: Persistent storage for MySQL error logs, general query logs, slow query logs, binary logs, redo logs and undo logs

Copy link
Copy Markdown
Contributor

@paulomach paulomach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - Check open comments - Thanks!!!

@astrojuanlu astrojuanlu force-pushed the juanlu/separation-storage branch from a503c0d to edcf10f Compare April 17, 2026 15:16
@astrojuanlu astrojuanlu mentioned this pull request Apr 21, 2026
2 tasks
@astrojuanlu
Copy link
Copy Markdown
Contributor Author

I know this one is approved but

So I'm closing in favour of #256 + #257.

@sinclert-canonical sinclert-canonical deleted the juanlu/separation-storage branch April 24, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature, UI change, or workload upgrade Libraries: Out of sync The charm libs used are out-of-sync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants